package modellayer;

/**
 * This demo-class only shows each Item (like each Person) can
 * have a list of different discounts.
 * 
 * @author (ucn-1semprojekt-dm78-gruppe1)
 *
 */
public class Item
{
  private int itemnr;
  private String description;
  private double price;
  private int inStock;
  
  private Discounts discounts;


  
	/**
	 * @return the discounts
	 */
	public Discounts getDiscounts()
	{
		return discounts;
	}



	/**
	 * @param discounts the discounts to set
	 */
	public void setDiscounts(Discounts discounts)
	{
		this.discounts = discounts;
	}



	/**
	 * @return the itemnr
	 */
	public int getItemnr()
	{
		return itemnr;
	}
	
	/**
	 * @return the description
	 */
	public String getDescription()
	{
		return description;
	}
	
	/**
	 * @return the price
	 */
	public double getPrice()
	{
		return price;
	}
	
	/**
	 * @return the inStock
	 */
	public int getInStock()
	{
		return inStock;
	}
	
	/**
	 * @param itemnr the itemnr to set
	 */
	public void setItemnr(int itemnr)
	{
		this.itemnr = itemnr;
	}
	
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description)
	{
		this.description = description;
	}
	
	/**
	 * @param price the price to set
	 */
	public void setPrice(double price)
	{
		this.price = price;
	}
	
	/**
	 * @param inStock the inStock to set
	 */
	public void setInStock(int inStock)
	{
		this.inStock = inStock;
	}
	
}
